/** ---电桩运营--- */
export const pile = [
  // 电站管理
  {
    path: '/stationList',
    name: 'stationList',
    component: () => import('@/pages/pileOperation/station/stationList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电站管理',
      permission: 'stationList.see',
    },
  },
  {
    path: '/stationAdd',
    name: 'stationAdd',
    component: () => import('@/pages/pileOperation/station/stationAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电站管理+新增',
      permission: 'stationList.add',
    },
  },
  {
    path: '/stationEdit',
    name: 'stationEdit',
    component: () => import('@/pages/pileOperation/station/stationAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电站管理+修改',
      permission: 'stationList.edit',
    },
  },
  {
    path: '/stationDetail',
    name: 'stationDetail',
    component: () => import('@/pages/pileOperation/station/stationDetail.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电站管理+详情',
      permission: 'stationList.see',
    },
  },
  {
    path: '/regulatoryDocking',
    name: 'regulatoryDocking',
    component: () => import('@/pages/pileOperation/station/regulatoryDocking.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电站管理+省监管对接',
      permission: 'stationList.abutment',
    },
  },
  {
    path: '/peripheralEquipment',
    name: 'peripheralEquipment',
    component: () => import('@/pages/pileOperation/station/peripheralEquipment.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电站管理+周边设备',
      permission: 'stationList.device',
    },
  },
  // 电桩管理
  {
    path: '/pileList',
    name: 'pileList',
    component: () => import('@/pages/pileOperation/pile/pileList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电桩管理',
      permission: 'pileList.see',
    },
  },
  {
    path: '/pileAdd',
    name: 'pileAdd',
    component: () => import('@/pages/pileOperation/pile/pileAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电桩管理+新增',
      permission: 'pileList.add',
    },
  },
  {
    path: '/pileBatchAdd',
    name: 'pileBatchAdd',
    component: () => import('@/pages/pileOperation/pile/pileBatchAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电桩管理+批量新增',
      permission: 'pileList.add',
    },
  },
  {
    path: '/pileEdit',
    name: 'pileEdit',
    component: () => import('@/pages/pileOperation/pile/pileAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电桩管理+修改',
      permission: 'pileList.edit',
    },
  },
  {
    path: '/pileDetail',
    name: 'pileDetail',
    component: () => import('@/pages/pileOperation/pile/pileDetail.vue'),
    meta: {
      title: '电桩运营+场站设备管理+电桩管理+终端详情',
      permission: 'pileList.see',
    },
  },
  //站点定时调价
  {
    path: '/priceTimeList',
    name: 'priceTimeList',
    component: () =>
      import('@/pages/pileOperation/priceTime/priceTimeList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+站点定时调价',
      permission: 'priceTimeList.see',
    },
  },
  {
    path: '/priceTimeAdd',
    name: 'priceTimeAdd',
    component: () => import('@/pages/pileOperation/priceTime/priceTimeAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+站点定时调价+新增',
      permission: 'priceTimeList.add',
    },
  },
  {
    path: '/priceTimeEdit',
    name: 'priceTimeEdit',
    component: () => import('@/pages/pileOperation/priceTime/priceTimeAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+站点定时调价+修改',
      permission: 'priceTimeList.edit',
    },
  },
  {
    path: '/priceTimeDetail',
    name: 'priceTimeDetail',
    component: () =>
      import('@/pages/pileOperation/priceTime/priceTimeDetail.vue'),
    meta: {
      title: '电桩运营+场站设备管理+站点定时调价+详情',
      permission: 'priceTimeList.see',
    },
  },
  // 计费模板
  {
    path: '/priceTemplateList',
    name: 'priceTemplateList',
    component: () =>
      import('@/pages/pileOperation/priceTemplate/priceTemplateList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+计费模板管理',
      permission: 'priceTemplateList.see',
    },
  },
  {
    path: '/priceTemplateAdd',
    name: 'priceTemplateAdd',
    component: () =>
      import('@/pages/pileOperation/priceTemplate/priceTemplateAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+计费模板管理+新增',
      permission: 'priceTemplateList.add',
    },
  },
  {
    path: '/priceTemplateEdit',
    name: 'priceTemplateEdit',
    component: () =>
      import('@/pages/pileOperation/priceTemplate/priceTemplateAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+计费模板管理+修改',
      permission: 'priceTemplateList.edit',
    },
  },
  {
    path: '/priceTemplateDetail',
    name: 'priceTemplateDetail',
    component: () =>
      import('@/pages/pileOperation/priceTemplate/priceTemplateDetail.vue'),
    meta: {
      title: '电桩运营+场站设备管理+计费模板管理+应用电桩',
      permission: 'priceTemplateList.see',
    },
  },
  // 白名单
  {
    path: '/whiteList',
    name: 'whiteList',
    component: () => import('@/pages/pileOperation/white/whiteList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+白名单',
      permission: 'whiteList.see',
    },
  },
  {
    path: '/whiteAdd',
    name: 'whiteAdd',
    component: () => import('@/pages/pileOperation/white/whiteAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+白名单+新增',
      permission: 'whiteList.add',
    },
  },
  {
    path: '/whiteEdit',
    name: 'whiteEdit',
    component: () => import('@/pages/pileOperation/white/whiteAdd.vue'),
    meta: {
      title: '电桩运营+场站设备管理+白名单+修改',
      permission: 'whiteList.edit',
    },
  },
  {
    path: '/whiteDetail',
    name: 'whiteDetail',
    component: () => import('@/pages/pileOperation/white/whiteDetail.vue'),
    meta: {
      title: '电桩运营+场站设备管理+白名单+详情',
      permission: 'whiteList.see',
    },
  },
  // 台区管理
  {
    path: '/courtsList',
    name: 'courtsList',
    component: () => import('@/pages/pileOperation/courtsManagement/courtsList.vue'),
    meta: {
      title: '电桩运营+台区管理',
      permission: 'courtsList.see',
    },
  },
  {
    path: '/courtsAdd',
    name: 'courtsAdd',
    component: () => import('@/pages/pileOperation/courtsManagement/courtsAdd.vue'),
    meta: {
      title: '电桩运营+台区管理+新增',
      permission: 'courtsList.add',
    },
  },
  {
    path: '/courtsEdit',
    name: 'courtsEdit',
    component: () => import('@/pages/pileOperation/courtsManagement/courtsAdd.vue'),
    meta: {
      title: '电桩运营+台区管理+修改',
      permission: 'courtsList.edit',
    },
  },
  {
    path: '/associatPile',
    name: 'associatPile',
    component: () => import('@/pages/pileOperation/courtsManagement/associatPile.vue'),
    meta: {
      title: '电桩运营+台区管理+关联电桩',
      permission: 'courtsList.see',
    },
  },
  // 充电卡
  {
    path: '/chargeCardList',
    name: 'chargeCardList',
    component: () =>
      import('@/pages/pileOperation/chargeCard/chargeCardList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+充电卡管理',
      permission: 'chargeCardList.see',
    },
  },
  {
    path: '/chargeCardEdit',
    name: 'chargeCardEdit',
    component: () =>
      import('@/pages/pileOperation/chargeCard/chargeCardEdit.vue'),
    meta: {
      title: '电桩运营+场站设备管理+充电卡管理+修改',
      permission: 'chargeCardList.eidt',
    },
  },
  // 订单管理
  {
    path: '/realTimeOrderList',
    name: 'realTimeOrderList',
    component: () =>
      import('@/pages/orderManagement/realTimeOrder/realTimeOrderList.vue'),
    meta: {
      title: '电桩运营+订单管理+电站实时订单',
      permission: 'realTimeOrderList.see',
    },
  },
  {
    path: '/realTimeOrderDetail',
    name: 'realTimeOrderDetail',
    component: () =>
      import('@/pages/orderManagement/realTimeOrder/realTimeOrderDetail.vue'),
    meta: {
      title: '电桩运营+订单管理+电站实时订单/详情',
      permission: 'realTimeOrderList.see',
    },
  },
  {
    path: '/realOccupyOrderDetail',
    name: 'realOccupyOrderDetail',
    component: () =>
      import('@/pages/orderManagement/realTimeOrder/occupyOrderDetail.vue'),
    meta: {
      title: '电桩运营+订单管理+实时占用订单/详情',
      permission: 'realTimeOrderList.see',
    },
  },
  {
    path: '/occupyOrderStop',
    name: 'occupyOrderStop',
    component: () =>
      import('@/pages/orderManagement/realTimeOrder/occupyOrderStop.vue'),
    meta: {
      title: '电桩运营+订单管理+实时占用订单/手动结束',
      permission: 'realTimeOrderList.see',
    },
  },
  {
    path: '/historicalOrderList',
    name: 'historicalOrderList',
    component: () =>
      import('@/pages/orderManagement/historicalOrder/historicalOrderList.vue'),
    meta: {
      title: '电桩运营+订单管理+电站历史订单',
      permission: 'historicalOrderList.see',
    },
  },
  {
    path: '/historicalOrderDetail',
    name: 'historicalOrderDetail',
    component: () =>
      import('@/pages/orderManagement/historicalOrder/historicalOrderDetail.vue'),
    meta: {
      title: '电桩运营+订单管理+电站历史订单/详情',
      permission: 'historicalOrderList.see',
    },
  },
  {
    path: '/occupyOrderDetail',
    name: 'occupyOrderDetail',
    component: () =>
      import('@/pages/orderManagement/historicalOrder/occupyOrderDetail.vue'),
    meta: {
      title: '电桩运营+订单管理+电站占用订单/详情',
      permission: 'historicalOrderList.see',
    },
  },
  {
    path: '/pendingOrderList',
    name: 'pendingOrderList',
    component: () =>
      import('@/pages/orderManagement/pendingOrder/pendingOrderList.vue'),
    meta: {
      title: '电桩运营+订单管理+待处理订单',
      permission: 'pendingOrderList.see',
    },
  },
  {
    path: '/pendingOrderHandle',
    name: 'pendingOrderHandle',
    component: () =>
      import('@/pages/orderManagement/pendingOrder/pendingOrderHandle.vue'),
    meta: {
      title: '电桩运营+订单管理+待处理订单/处理',
      permission: 'pendingOrderList.handle',
    },
  },
  {
    path: '/pendingOrderDetail',
    name: 'pendingOrderDetail',
    component: () =>
      import('@/pages/orderManagement/pendingOrder/pendingOrderDetail.vue'),
    meta: {
      title: '电桩运营+订单管理+待支付订单/详情',
      permission: 'pendingOrderList.handle',
    },
  },
  // 站点评论
  {
    path: '/commentList',
    name: 'commentList',
    component: () => import('@/pages/pileOperation/comment/commentList.vue'),
    meta: {
      title: '电桩运营+场站设备管理+站点评论',
      permission: 'commentList.see',
    },
  },
  // 互联互通电站管理
  {
    path: '/interconnectionStationList',
    name: 'interconnectionStationList',
    component: () => import('@/pages/pileOperation/interconnectionStation/interconnectionStationList.vue'),
    meta: {
      title: '电桩运营+互联互通电站',
      permission: 'interconnectionStationList.see',
    },
  },
  {
    path: '/interconnectionStationDetail',
    name: 'interconnectionStationDetail',
    component: () => import('@/pages/pileOperation/interconnectionStation/interconnectionStationDetail.vue'),
    meta: {
      title: '电桩运营+互联互通电站+详情',
      permission: 'interconnectionStationList.see',
    },
  },
  // 周边设备管理
  {
    path: '/peripheralDeviceManagementList',
    name: 'peripheralDeviceManagementList',
    component: () => import('@/pages/pileOperation/peripheralDeviceManagement/peripheralDeviceManagementList.vue'),
    meta: {
      title: '电桩运营+周边设备管理',
      permission: 'commentList.see',
    },
  },
  {
    path: '/peripheralDeviceManagementAdd',
    name: 'peripheralDeviceManagementAdd',
    component: () => import('@/pages/pileOperation/peripheralDeviceManagement/peripheralDeviceManagementAdd.vue'),
    meta: {
      title: '电桩运营+周边设备管理+新增',
      permission: 'commentList.see',
    },
  },
  {
    path: '/peripheralDeviceManagementEdit',
    name: 'peripheralDeviceManagementEdit',
    component: () => import('@/pages/pileOperation/peripheralDeviceManagement/peripheralDeviceManagementEdit.vue'),
    meta: {
      title: '电桩运营+周边设备管理+修改',
      permission: 'commentList.see',
    },
  },
];
